package com.liveinstars.im.domain.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.liveinstars.im.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 代办事项表
 * </p>
 *
 * @author 8btc
 * @since 2020-03-31
 */
@Data
@ToString
public class Todo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    public final static int TODO_TYPE_ADD_FRIENDS = 1;// 添加好友
    public final static int TODO_TYPE_JOIN_GROUP = 2;// 别人申请加群请求
    public final static int TODO_TYPE_ADD_CHAT_GROUP = 3;// 添加群
    public final static int TODO_TYPE_ADD_INTEREST = 4;// 添加兴趣活动

    /**
     * 自增主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 代办雷翔 1-添加好友 2-申请加群请求
     */
    private Integer type;

    /**
     * 来源用户id
     */
    private Long fromId;

    /**
     * 圈子id
     */
    private Long groupId;

    /**
     * 活动id
     */
    private Integer activityId;
    /**
     * 创建时间
     */
    private Long createDate;

    /**
     * 处理状态
     */
    private Boolean complete;

    /**
     * 是否同意
     */
    private Boolean agree;

    /**
     * 文案内容
     */
    private String subject;

    /**
     * 处理信息
     */
    private String handleMsg;

    /**
     * 回复信息
     */
    private String requestMsg;

    /**
     * 处理时间
     */
    private Long handleDate;
}
